﻿using NHibernate.Mapping.ByCode;
using NHibernate.Mapping.ByCode.Conformist;

namespace Citi.EmailSender.Domain.Mapping
{
    public class EntityMap<T> : ClassMapping<T> where T : EntityBase<T>
    {
        public EntityMap()
        {
            Id(x => x.Id, map => { map.Generator(Generators.Identity); map.Column("Id"); });
        }
    }
}
